Fixed Y indices bug; negative indices values to absolute