Sensex and Nifty came under heavy pressure